Automatically optimize pull requests with Codeflash GitHub Actions workflow
Codeflash can automatically optimize your code when new pull requests are opened.To be able to scan new code for performance optimizations, Codeflash requires a GitHub action workflow to
be installed which runs the Codeflash optimization logic on every new pull request.
If the action workflow finds an optimization, it communicates with the Codeflash GitHub
App through our secure servers and asks it to suggest new changes to the pull request.This is the most useful way of using Codeflash, where you set it up once and all your new code gets optimized.
So setting this up is highly recommended.
Before you begin, make sure you have:β A Codeflash API key from the Codeflash Web Appβ Completed local installation with codeflash initβ A Python project with a configured pyproject.toml file